package com.hhe.datax_transfer.common;

import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;

/**
 * 前后端交互回执
 *
 * @author HHe
 * @version V1.0
 * @date 2021/1/5 20:15
 */
@Getter
@Setter
public class JsonResult implements Serializable {
    /**
     * 返回的编码
     */
    private String code;

    /**
     * 返回的信息
     */
    private String message;

    /**
     * 返回的对象
     */
    private Object object;

    public JsonResult(String code, String message, Object object) {
        this.code = code;
        this.message = message;
        this.object = object;
    }

    public JsonResult() {
    }
}
